<template>
  <el-dialog
    :title="dialogTitle"
    :visible.sync="showEdit"
    width="80%"
    :close-on-click-modal="false"
    :lock-scroll="false"
    @closed="cleanForm"
    @opened="transData"
  >
    <vuln-form ref="vulnForm" :data="vulnDetial" @changeLoading="changeLoading" @postSucceed="postSucceed" />
    <div slot="footer">
      <el-button @click="showEdit = false">取消</el-button>
      <el-button
        type="primary"
        :loading="editLoading"
        @click="save"
      >保存</el-button>
    </div>
  </el-dialog>
</template>

<script>
export default {
  name: 'VulnDialogForm'
}
</script>

<style lang="scss" scoped>

</style>
